<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>JVM: Referência ao ficheiro src/list.h</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Gerado por Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Página&nbsp;principal</span></a></li>
      <li class="current"><a href="files.html"><span>Ficheiros</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Referência ao ficheiro src/list.h</h1><hr><a name="_details"></a><h2>Descrição detalhada</h2>
Cria lista de classes, insere uma classe na lista e retorna uma determinada classe. 
<p>

<p>Definido no ficheiro <a class="el" href="list_8h-source.html">list.h</a>.</p>

<p>
<code>#include &quot;<a class="el" href="common_8h-source.html">common.h</a>&quot;</code><br>

<p>
<a href="list_8h-source.html">Ir para o código fonte deste ficheiro.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Funções</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class_list *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="list_8h.html#51f155243c24a1e54f3f757789fa9c55">new_list</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cria uma nova lista de classes.  <a href="#51f155243c24a1e54f3f757789fa9c55"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="list_8h.html#95066d671c49d3eb652a5add77a3a8b5">insert_node</a> (class_list *l, class_file *class)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Insere uma classe na lista.  <a href="#95066d671c49d3eb652a5add77a3a8b5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="list_8h.html#4dc6bc84031c34beb94b92688c87cbb2">empty_list</a> (class_list *l)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Informa se a lista está vazia.  <a href="#4dc6bc84031c34beb94b92688c87cbb2"></a><br></td></tr>
</table>
<hr><h2>Documentação das funções</h2>
<a class="anchor" name="4dc6bc84031c34beb94b92688c87cbb2"></a><!-- doxytag: member="list.h::empty_list" ref="4dc6bc84031c34beb94b92688c87cbb2" args="(class_list *l)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int empty_list           </td>
          <td>(</td>
          <td class="paramtype">class_list *&nbsp;</td>
          <td class="paramname"> <em>l</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Informa se a lista está vazia. 
<p>
<dl compact><dt><b>Parâmetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>l</em>&nbsp;</td><td>A lista </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Retorna:</b></dt><dd>true ou false, caso a lista esteje vazia ou não </dd></dl>

</div>
</div><p>
<a class="anchor" name="95066d671c49d3eb652a5add77a3a8b5"></a><!-- doxytag: member="list.h::insert_node" ref="95066d671c49d3eb652a5add77a3a8b5" args="(class_list *l, class_file *class)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void insert_node           </td>
          <td>(</td>
          <td class="paramtype">class_list *&nbsp;</td>
          <td class="paramname"> <em>l</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">class_file *&nbsp;</td>
          <td class="paramname"> <em>class</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Insere uma classe na lista. 
<p>
<dl compact><dt><b>Parâmetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>l</em>&nbsp;</td><td>A lista onde será inserida </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>class</em>&nbsp;</td><td>A classe a inserir </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="51f155243c24a1e54f3f757789fa9c55"></a><!-- doxytag: member="list.h::new_list" ref="51f155243c24a1e54f3f757789fa9c55" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">class_list* new_list           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Cria uma nova lista de classes. 
<p>
<dl class="return" compact><dt><b>Retorna:</b></dt><dd>A nova lista criada </dd></dl>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Gerado em Wed Jul 1 15:56:08 2009 para JVM por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
